Skip to content

feat(model): split provider and model selection - #52

Closed
Mineru98 wants to merge 3 commits into
Ouro-labs:release/bootstrapfrom
Mineru98:feat/provider-model-selection
Closed

feat(model): split provider and model selection#52
Mineru98 wants to merge 3 commits into
Ouro-labs:release/bootstrapfrom
Mineru98:feat/provider-model-selection

Conversation

@Mineru98

@Mineru98 Mineru98 commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Problem

Provider choice and model choice are currently blended together. That makes it hard for users to understand whether they are choosing a runtime account, a model family, or a specific model variant.

Proposed change

  • Separate provider selection from provider-specific model selection.
  • Keep the TUI status and command discovery aligned with the new split.
  • Preserve existing command behavior while making provider/model state explicit.

Acceptance criteria

  • Users can switch providers and provider models without losing the selected runtime meaning.
  • Model/status display reflects the provider/model split consistently.
  • Command discovery exposes the same split so help output matches the TUI.

Verification

  • git diff --check
  • mix format --check-formatted on changed Elixir files
  • mix test test/ourocode/model test/ourocode/provider/codex_client_test.exs test/ourocode/command/registry/builtin_test.exs test/ourocode/terminal/command_model_commands_test.exs test/ourocode/terminal/command_discovery_commands_test.exs test/ourocode/terminal/event_loop_command_dispatch_test.exs test/ourocode/terminal/model_status_test.exs test/ourocode/terminal/tui_chat_test.exs test/ourocode/terminal/tui_model_selection_test.exs test/ourocode/terminal/tui_state_test.exs test/ourocode/terminal/tui_submit_test.exs -> 94 passed

Closes #47
Closes #51

Mineru98 and others added 3 commits July 8, 2026 01:05
The provider/model split adds a /provider command; registry_test's two
full ordered-list assertions were not updated and failed. Add /provider
between /config and /model.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The registry stores Path.expand'd skill paths (forward slashes, lowercased
drive on Windows); the dedup/skill assertions compared against raw Path.join
values and diverged on Windows. Wrap them in Path.expand like source_id.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Mineru98 added a commit to Mineru98/ourocode that referenced this pull request Jul 21, 2026
The full-suite windows-ci needs code from sibling PRs (path/CRLF/port test
fixes live in Ouro-labs#52/Ouro-labs#55), so it cannot pass on this branch alone. Keep it on
the v0.1.15 integration branch, where the merged tree is green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Mineru98 added a commit that referenced this pull request Aug 7, 2026
…d+test

- qa_frames.all_json/0 (#38): return binary via IO.iodata_to_binary/1 to
  match its @SPEC String.t() and Ourocode.Json.decode/1 (needs a binary).
- registry_test (#52): add /provider to expected command lists (the
  provider/model split introduced /provider; test was not updated).
- renderer_chrome (#44): group the two put_composer_text/6 clauses so
  --warnings-as-errors passes (put_highlighted_token moved after them).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Mineru98

Mineru98 commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator Author

Closing as already-absorbed.

The content of this branch is already present in release/bootstrap (currently 9d45487) — it landed earlier via a different commit (rebase/cherry-pick), so the original branch commits never showed as merged.

Verified by merging this branch into release/bootstrap and comparing the resulting tree: it is identical to the base tree (4021b03), i.e. the merge contributes no changes. Nothing is lost by closing this.

Reopen if you believe something here is genuinely missing from release/bootstrap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make command discovery reflect the provider and model split Separate provider selection from provider-specific model selection

1 participant